package com.xyy.saas.payment.job.syncData;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.xyy.elasticjob.client.annotation.ElasticJobConf;
import com.xyy.saas.payment.service.job.SyncFuminDataService;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;

@ElasticJobConf(name = "xyy.elastic.job.manage.FBankPayRecordsDownloadJob2", cron = "0 30 14 1/1 * ? ")
@Slf4j
public class FBankPayRecordsDownloadJob2 implements SimpleJob {
    @Resource
    private SyncFuminDataService syncFuminDataService;
    @Override
    public void execute(ShardingContext shardingContext) {
        syncFuminDataService.syncPayOrderFromFm();
    }
}
